<%--
  Created by IntelliJ IDEA.
  User: New
  Date: 2021/5/11
  Time: 9:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
    <title>loginController</title>
</head>
<body>
<%
   String username= request.getParameter("username");

   if(username.equals("admin")){
       session.setAttribute("username",username);
       response.sendRedirect("../index.jsp");
   }else {
        //
   }

%>

</body>
</html>
